<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" href="css/index.css" type="text/css"></link>
		<link
			href="http://bdimg.share.baidu.com/static/css/bdsstyle.css?cdnversion=20121228"
			rel="stylesheet" type="text/css">
		<link type="text/css" rel="stylesheet"
			href="/Agent/1/Skins/Default/Style/Search.css" />

	</head>

	<body>

		<iframe frameboder="0" scrolling="no" width="100%" height="35"
			src="frame/head.jsp"></iframe>



		<!--首页头部-LOGO//-->
		<div class="wzgg">
			<ul style="width: 820px">
				<li>
					【网站公告】：
				</li>
				<marquee scrollamount="40" onmouseover="this.stop()"
					onmouseout="this.start()" scrolldelay="500" width=700>
					<a href=# Class=Announce
						Onclick="javascript:window.open('/Announce.asp?ID=29','_blank','width=350,height=450')">祝贺哈工程，黑大，哈工大，哈理工，哈师范，东北林业加入大学生二手网</a>
					<a href=# Class=Announce
						Onclick="javascript:window.open('/Announce.asp?ID=25','_blank','width=350,height=450')">欢迎大连工业大学加入大学生二手网团队</a>
					<a href=# Class=Announce
						Onclick="javascript:window.open('/Announce.asp?ID=21','_blank','width=350,height=450')">迎国庆贺中秋大学生二手网祝同学们双节快乐</a>
					<a href=# Class=Announce
						Onclick="javascript:window.open('/Announce.asp?ID=20','_blank','width=350,height=450')">热烈欢迎上海大学加入大学生二手网团队</a>
					<a href=# Class=Announce
						Onclick="javascript:window.open('/Announce.asp?ID=19','_blank','width=350,height=450')">热烈欢迎北京交通大学加入大学生二手网团队。</a>
				</marquee>
			</ul>

		</div>
		<div class="divline"></div>
		<div style="width: 990px; margin: 0 auto">
			<div class="ss">
				<div class="ssleft">
					<div class="sstext">
						<form action="<%=path %>/goods/showGoods!findGoodsByName.action"
							name="searchform" method="post">

							<input width="440" height="32" name="name" type="text"
								title="小提示：多个关键词之间请用空格分开" value="搜神马就是神马" class="so_input"
								onclick="" onKeyUp="" autocomplete=off name="" type="text"/>
							<input class="inputsub" type=image src="imgs/indexcity_07.gif"
								align=absmiddle/>
						</form>
					</div>
					<SCRIPT language=JavaScript>
<!--
function postsearch(){
	if($('#skeyword')[0].value==''){
		alert('关键字不能为空!');return false;
	}
	$('#form1search')[0].submit();
}
//-->
</SCRIPT>

					<div class="mffbxx">
						<a href="<%=path%>/changeGoods/changeGoods!gotoSaveGoods.action"><img
								src="imgs/fbxx.gif" width="130" height="35" /> </a>
					</div>



					<div class="gjz">
						<h2>
							热门关键字：
							<a
								href="<%=path %>/goods/showGoods!findGoodsByName.action?name=ipad"
								target=_blank>ipad</a><span> </span><a
								href="<%=path %>/goods/showGoods!findGoodsByName.action?name=iphone4"
								target=_blank>iphone4</a><span> </span><a
								href="<%=path %>/goods/showGoods!findGoodsByName.action?name=iphone"
								target=_blank>iphone</a><span> </span><a
								href="<%=path %>/goods/showGoods!findGoodsByName.action?name=车"
								target=_blank>车</a><span> </span><a
								href="<%=path %>/goods/showGoods!findGoodsByName.action?name=自行车"
								target=_blank>自行车</a><span> </span><a
								href="<%=path%>/goods/showGoods!findGoodsByName.action?name=吉他"
								target=_blank>吉他</a><span> </span><a
								href="<%=path%>/goods/showGoods!findGoodsByName.action?name=手机"
								target=_blank>手机</a>
						</h2>
					</div>
				</div>
			</div>

			<div class="indexclass">
				<img src="imgs/id=P161njf3PHm&gp=401&time=nHnYPHcLn1TLr0.gif"
					width="990" height="481" usemap="#Map" />
				<map name="Map" id="Map">
					<c:forEach items="${cateList}" var="cate">
						<area shape="rect" coords="${cate.picArea}"
							href="<%=path%>/goods/showGoods!listByPid.action?pid=${cate.id}"
							target="_blank" title="${cate.name}" />

					</c:forEach>
				</map>
			</div>
			<div class="divline"></div>
			
			
	</body>
</html>
